<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>积分安装币明细</title>
    <style>
        .date.form_date{
            padding: 5px;
            width: 110px;
        }
        .date.form_date input[type="text"] {
            width: 75px;
        }
    </style>
</head>
<body>
<!-- /top navigation -->

	<!-- page content -->
	<div class="">

		<div class="clearfix"></div>

		<div class="row">
			<div class="col-md-12 col-sm-12 col-xs-12">
				<div class="x_panel">
					<div class="x_title">
						<h3>积分安装币明细</h3>
						<div class="clearfix"></div>
					</div>
					<div class="x_content">

						<ul id="myTab1" class="nav nav-tabs bar_tabs" role="tablist">
							<li role="presentation" class="[#if type==0]active[/#if]"><a
								href="javascript:void(0)"
								onclick="pjaxContent('/integralcoin/integralCoinDetail?type=0')">积分流水</a></li>
							<li role="presentation" class="[#if type==1]active[/#if]"><a
								href="javascript:void(0)"
								onclick="pjaxContent('/integralcoin/integralCoinDetail?type=1')">安装币流水</a></li>
						</ul>
						
						<!-- 时间 -->
						<div style="display: inline-block;float: left;">
							<label id="labelTimeName"   style="padding-top:8px;padding-right:10px">创建时间</label>
							<div class="controls input-append date form_date" data-date=""
								data-date-format="dd MM" data-link-field="dtp_input1"
								data-link-format="yyyy-mm" style="margin-right: 3px;">
								<span class="add-on"><i class="icon-th"></i></span> <input id="so_startTime" name="so_startTime"
									id="dtp_input1Hm1" size="16" type="text" value="[#if so_startTime??]${so_startTime!}[/#if]" readonly>
							</div>
							— 
							<div class="controls input-append date form_date" data-date=""
								data-date-format="dd MM" data-link-field="dtp_input2"
								data-link-format="yyyy-mm">
								<span class="add-on"><i class="icon-th"></i></span> <input id="so_endTime" name="so_endTime"
									id="dtp_input1Hm2" size="16" type="text" value="[#if so_endTime??]${so_endTime!}[/#if]" readonly>
							</div>
						</div>
						
						<!-- 下拉选择 -->
						<div style="display: inline-block;">
							<label class="control-label"  style="padding-top:8px">操作类型</label>
							<div style="padding-left: 0px;display: inline-block;vertical-align: middle;">
								<select class="form-control" name="so_select" id="so_select"">
									<option value=''>全部</option>
									<option [#if so_select ?? && so_select==1] selected='selected'[/#if] value='1'>获得</option>
									<option [#if so_select ?? &&  so_select==-1] selected='selected'[/#if] value='-1'>消耗</option>
								</select>
							</div>
						</div>
						
						<!-- 搜索 -->
						<div style="padding-left: 0px;display: inline-block;">
						<label>[#if type==0]手机/邮箱：[#else]公司名称：[/#if]</label>
							<div style="    display: inline-block; vertical-align: middle; margin-left: 5px;">
								<input name="so_search" id="so_search" value="[#if so_search??]${so_search!}[/#if]" class="form-control" type="text" placeholder="[#if type==0]手机/邮箱[#else]公司名称[/#if]"> <span
									class="input-group-btn">
								</span>
							</div>
						</div>
						
						<div style="float:right">
						<div class="form-group">
						<button type="button" onclick="search();" class="btn btn-primary">搜索</button>
							<button type="button" onclick="reset();" class="btn btn-danger">重置</button>
                          <button type="submit" id="outexcel" onclick="exportIntegralCoinListExcel();" class="btn btn-success">导出EXCEL</button>
                        </div>
						</div>
						<input type="hidden" id="type" value="${type!}">
						<table id="datatable" class="table table-striped table-bordered">
							<thead>
								[#if type==0]
								<tr>
									<th style="">用户ID</th>
									<th>账户</th>
									<th>数量</th>
									<th>描述</th>
									<th>时间</th>
								</tr>
								[/#if] 
								[#if type==1]
								<tr>
									<th>公司名称</th>
									<th>数量</th>
									<th>描述</th>
									<th>时间</th>
								</tr>
								[/#if] 
							</thead>
						</table>
					</div>
				</div>
			</div>

		</div>
	</div>
	<!-- /page content -->

	<!-- userdataTable -->
	<script src="/res/build/js/integralCoin/integralCoinDataTables.js"></script>
</body>
</html>